import request from "@/plugin/axios";

const BASE_URL = "sys/user-role";

export function UserRoleList(data) {
  return request({
    url: BASE_URL + "/list",
    method: "get",
    params: data,
  });
}

export function UserRoleSave(data) {
  return request({
    url: BASE_URL + "/save",
    method: "post",
    data,
  });
}
